all clean depend:
	(cd stm32core; make $@)
	(cd freertos; make $@)
	(cd nav; make $@)
	(cd picoc; make $@)
	(cd stm32lib; make $@)
	(cd sys; make $@)

count:
	@wc -l `find . -name "*.[chs]"` | tail -1
	@-ls -l sys/ffox.bin

program openocd debug:
	-(cd flashprog; make $@)
